package com.itxx.homeWork.test2;

public class Motocycle extends MotorVehicles{
    @Override
    public void run() {
        System.out.println(getName()+"可以运行");
    }

    public Motocycle() {
    }

    public Motocycle(String name, String price) {
        super(name, price);
    }

}
